DevForce Help Reference
FindMethods(Type,String,BindingFlags,Type[],Type[]) Method


Finds all the methods that match specific criteria.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(IdeaBlade.Core.Reflection.TypeFns+d__30)> 
Public Overloads Shared Function FindMethods( _ 
   ByVal type As Type, _ 
   ByVal methodName As String, _ 
   ByVal flags As BindingFlags, _ 
   ByVal genericArgTypes() As Type, _ 
   ByVal parameterTypes() As Type _ 
) As IEnumerable(Of MethodInfo)
'Usage
 
Dim type As Type
Dim methodName As String
Dim flags As BindingFlags
Dim genericArgTypes() As Type
Dim parameterTypes() As Type
Dim value As IEnumerable(Of MethodInfo)
 
value = TypeFns.FindMethods(type, methodName, flags, genericArgTypes, parameterTypes)
[IteratorStateMachine(IdeaBlade.Core.Reflection.TypeFns+d__30)] 
public static IEnumerable<MethodInfo> FindMethods( 
   Type type, 
   string methodName, 
   BindingFlags flags, 
   Type[] genericArgTypes, 
   Type[] parameterTypes 
)

Parameters

type
methodName
flags
genericArgTypes
parameterTypes
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TypeFns Class
TypeFns Members
Overload List

Send Feedback